package com.zhitong.money.services.api;

import com.github.pagehelper.PageInfo;
import com.zhitong.money.entity.Holiday;

import java.util.List;
import java.util.Map;

public interface IHolidayService {

    public List<Holiday> findAllHoliday() throws Exception;

    public Holiday fidHolidayById(String id) throws Exception;

    public PageInfo findHolidayByPage(Map<String,Object> map) throws Exception;

    public List<Holiday> findHolidayByMap(Map<String,Object> map) throws Exception;

    public void addHoliday(Holiday holiday)throws Exception;

    public void updateHoliday(Holiday holiday)throws Exception;

    public void delHoliday(String id)throws Exception;

    public void delHolidayByIds(List<String> ids) throws Exception;

}
